import request from "@/utils/request";

export type DashboardIndexResType = {
    examPaperCount: string,
    questionCount: string,
    doExamPaperCount: string,
    doQuestionCount: string,
    mothDayUserActionValue: number[],
    mothDayDoExamQuestionValue: number[],
    mothDayText: string[]
}

export function dashboardIndex() {
    return request.post<DashboardIndexResType>('/api/admin/dashboard/index')
}